home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 4 / The Arsenal Files 4 (Arsenal Computer).ISO / casm / au116-as.exe / UTIL / BACKSL.CPP < prev    next >
C/C++ Source or Header  |  1993-12-05  |  313b  |  14 lines

  1. #include "..\au.hpp"
  2. #include <errno.h>
  3. /*************************************************************************/
  4. void append_backslash(char *string)  /* If there isn't one already that is */
  5. {
  6.     int len = strlen(string);
  7.     if (string[len-1]!='\\')
  8.     {
  9.         string[len]='\\';
  10.         string[len+1]='\0';
  11.     }
  12. }
  13.  
  14.